package com.wysql.ascost.model.info;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import cn.hutool.core.date.DateUtil;
import lombok.Data;

import java.util.Date;

@Data
public class InfoImportresultDtl implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "主键ID")
    private String id;

    @ApiModelProperty(value = "主表id")
    private String mainid;

    @ApiModelProperty(value = "批次信息")
    private String batchnum;

    @ApiModelProperty(value = "文件名称")
    private String filename;

    @ApiModelProperty(value = "后缀名称")
    private String suffix;

    @ApiModelProperty(value = "成功失败标识（0失败1成功）")
    private Integer status;

    @ApiModelProperty(value = "失败原因")
    private String reason;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "导入时间")
    private Date createtime;

    @ApiModelProperty(value = "所属环节（1可研2初设3结算）")
    private Integer step;

    @ApiModelProperty(value = "工程类别（1基建类2业扩类3技改类4大修类）")
    private Integer type;


    public InfoImportresultDtl(String id,String mainid,String batchnum,String filename,String suffix,Integer status,String reason,Date createtime,Integer step,Integer type){

        this.id = id;

        this.mainid = mainid;

        this.batchnum = batchnum;

        this.filename = filename;

        this.suffix = suffix;

        this.status = status;

        this.reason = reason;

        this.createtime = createtime;

        this.step = step;

        this.type = type;

    }


    public InfoImportresultDtl() {
        super();
    }


}